package com.easonji;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

/**
 * @ClassName: Application
 * @Description: SpringBoot方式启动类
 * @Author: LiuJun
 * @date: 2018/07/08 16:39
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018 - 2019
 */
@SpringBootApplication
public class Application extends WebMvcConfigurerAdapter {

    private final static Logger logger = LoggerFactory.getLogger(Application.class);

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
        logger.info("Application is success!");
    }
}
